package com.blyat.xsoft.auth.security;

import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.SimpleGrantedAuthority;

/**
 * @Auther: syh
 * @Date: 2020/8/26
 * @Description:
 */
public class Constants {
    // 平台最基本角色
    public static final GrantedAuthority BASIC_GRANTED_AUTHORITY =
            new SimpleGrantedAuthority(Constants.SECURITY_AUTH_PREFIX);

    public static final String SECURITY_AUTH_PREFIX = "XSOFT";
}
